﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="ActivityDynamicEdit.aspx.cs" Inherits="ZHDJ.BranchCenter.Module.MassLine.ActivityDynamicEdit" ValidateRequest="false" %>

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title></title>
    <style type="text/css">
        .pdleft {
            padding-left: 30px;
        }
    </style>
</head>
<body>
    <form id="form1" runat="server">
        <f:PageManager ID="PageManager1" AutoSizePanelID="Panel1" runat="server" />
        <f:HiddenField ID="hdFileId" runat="server"></f:HiddenField>
        <f:Panel ID="Panel1" ShowBorder="false" ShowHeader="false" AutoScroll="true" runat="server" Layout="Table" BoxConfigAlign="Stretch">
            <Items>
                <f:Form ID="formEdit" ShowBorder="false" ShowHeader="false" runat="server" BodyPadding="10px" Title="Form">
                    <Items>
                        <f:FormRow>
                            <Items>
                                <f:TextBox ID="txtTitle" Label="标题" runat="server" LabelAlign="Right" LabelWidth="70px" Required="true" ShowRedStar="true"></f:TextBox>
                            </Items>
                        </f:FormRow>
                        <f:FormRow>
                            <Items>
                                <f:FileUpload runat="server" ID="fileImage" EmptyText="请选择一份附件" Label="附件" LabelWidth="70px" LabelAlign="Right" AutoPostBack="true"
                                    OnFileSelected="fileImage_FileSelected">
                                </f:FileUpload>
                            </Items>
                        </f:FormRow>
                        <f:CheckBoxList ID="cblistType" runat="server" CssClass="pdleft">
                            <f:CheckItem Text="图片" Value="0" />
                            <f:CheckItem Text="头条" Value="1" />
                            <f:CheckItem Text="要闻" Value="2" />
                            <f:CheckItem Text="置顶" Value="3" />
                        </f:CheckBoxList>
                        <f:HtmlEditor ID="heContent" Label="内容" runat="server" LabelAlign="Right" LabelWidth="70px" Width="650px" Height="280px" ShowRedStar="true"></f:HtmlEditor>
                    </Items>
                </f:Form>
            </Items>
            <Toolbars>
                <f:Toolbar ID="Toolbar1" runat="server" Position="Bottom" ToolbarAlign="Center">
                    <Items>
                        <f:Button ID="btnSaveClose" ValidateForms="formEdit" Icon="SystemSaveClose" OnClick="btnSaveClose_Click" runat="server" Text="保存并关闭"></f:Button>
                        <f:ToolbarSeparator ID="ToolbarSeparator2" runat="server">
                        </f:ToolbarSeparator>
                        <f:Button ID="btnPublish" ValidateForms="formEdit" Icon="Transmit" OnClick="btnPublish_Click" runat="server" Text="发布"></f:Button>
                        <f:Button ID="btnUndo" runat="server" ValidateForms="formEdit" Icon="ArrowUndo" OnClick="btnUndo_Click" Text="撤回" Hidden="true"></f:Button>
                        <f:ToolbarSeparator ID="ToolbarSeparator1" runat="server">
                        </f:ToolbarSeparator>
                        <f:Button ID="btnClose" Icon="SystemClose" EnablePostBack="false" runat="server" Text="关闭" DisableControlBeforePostBack="True"></f:Button>
                    </Items>
                </f:Toolbar>
            </Toolbars>
        </f:Panel>
    </form>
</body>
</html>
